home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem **********************************************************************
- rem * *
- rem * CDTEST.BAT - CDTEST.BAT accepts two command line parameters: *
- rem * 1) the name of the testfile on the CD ROM, and *
- rem * 2) the name of the output logfile to contain the test results. *
- rem * *
- rem * CDTEST.BAT then calls BLKTEST.BAT which makes the actual calls *
- rem * to CDSPEED.EXE to perform the CDROM tests. CDTEST.BAT passes *
- rem * BLKTEST.BAT three variables: *
- rem * 1) the name of the CDROM testfile, *
- rem * 2) the requested data transfer rate, and *
- rem * 3) the name of the output logfile. *
- rem * *
- rem * *
- rem * Input variables from command line: *
- rem * *
- rem * %1 = name of test file located on the CDROM *
- rem * %2 = name of the output logfile for test data *
- rem * *
- rem **********************************************************************
-
-
-
- echo Testing CDROM drive...
-
- rem /* Open the log file by redirecting the following headers to the file */
- echo Testfile,Req Xfr Rate,Rd Blk Sz,Primer Sz,Bkgnd Cpu,File Sz,Act Xfr Rate,Pcnt Blkd By Rd,Overall CPU > %2
-
-
-
- rem /* blktest is called with 90kb/sec,120kb/sec and 150kb/sec transfer rates */
-
- rem /* If you need to need to test with 30kb/sec and 60kb/sec, uncomment the following 4 rem statements **/
-
-
- rem call blktest %1 30720 %2
- rem echo Test of 30 KB/sec rate complete
-
- rem call blktest %1 61440 %2
- rem echo Test of 60 KB/sec rate complete
-
- call blktest %1 92160 %2
- echo Test of 90 KB/sec rate complete
-
- call blktest %1 122880 %2
- echo Test of 120 KB/sec rate complete
-
- call blktest %1 153600 %2
- echo Test of 150 KB/sec rate complete
-
-
-
- echo Testing complete.
-